package com.leo.manage_system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leo.manage_system.entity.Admin;

/**
 * @author : ywzjks
 * @description : 描述
 * @Date : 2021/10/23 14:05
 */
public interface AdminService extends IService<Admin> {
    boolean addAdmin(Admin admin);
    boolean adminLogin(Admin admin);
//    boolean save(AdminSaveAO params);
    boolean deleteAdmin(String id);
    boolean adminPasswordUpdate(String username,String oldPassword,String newPassword);
    public String getAdminIdByUsername(String username);
}
